<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <g:set var="entityName" value="${message(code: 'estate.label', default: 'Estate')}" />
    <title>金融质押品详情</title>
    <asset:stylesheet src="intelligence/swiper.css"/>
    <style>
    .contact-stat{
        padding: 8px 0px;
        text-align: center;
    }
    .contact-stat span{
        font-size: 13px;
        color: #88898c;
        margin-bottom: 10px;
    }
    .contact-stat strong{
        font-size: 13px;
        word-wrap: break-word;
    }
    .nav-tabs{
        border-bottom: none;
    }
    .hpanel > .panel-footer, .hpanel > .panel-section{
        background: #f9f9f9;
    }
    .flex{
        display: flex;justify-content: center;align-items: center;
    }
    .newFontSize{
        font-size: 12px;
    }
    table>tbody>tr>td, table>tbody>tr>th,.table>tfoot>tr>td, table>tfoot>tr>th, table>thead>tr>td, table>thead>tr>th{
        padding: 8px;
        line-height: 1.42857143;
        white-space: nowrap;
    }
    /*轮播图样式*/
    .swiper-container{
        width: 100%;
        height: 300px;
        margin-top: 10px;
    }
    .swiper-pagination-bullet-active{
        opacity: 0.6;
        background: #fff;
    }
    @media (max-width:1654px){
        #screenPage,#screenPage_1{
            height:162px;
        }
    }
    @media (max-width:1382px){
        #screenPage_2{
            height:477px;
        }
    }
    </style>
</head>
<body class="fixed-navbar fixed-sidebar">

<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>
                        <span>CINDATA PLS</span>
                    </li>
                    <li>
                        <g:link action="index">
                            <span>金融质押品</span>
                        </g:link>
                    </li>
                    <li class="active">
                        <span>金融质押品详情</span>
                    </li>
                </ol>
            </div>
        </div>
    </div>
</div>

<div class="content animate-panel">
    %{--押品信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                押品信息
            </div>

            <div class="panel-body">
                <div class="col-md-12 text-center">
                    <div class="col-md-3">
                        <h3 class="font-extra-bold m-b-xs text-center">
                            <small style="font-size: 16px;">最新评估价值 :</small>
                            <span class="totalPrice">${collateral?.totalPrice?collateral?.totalPrice/10000:'-'}</span>
                            <small class="newFontSize">万元</small>
                        </h3>
                    </div>
                    <div class="col-md-3">
                        <h3 class="font-extra-bold m-b-xs">
                            <small style="font-size: 16px;">抵质押率 : </small>
                            <g:formatNumber number="${financialPledgeDetail?.ltv?financialPledgeDetail?.ltv*100:0}" type="number" minFractionDigits="2" maxFractionDigits="2" />%
                            <small class="newFontSize"></small>
                        </h3>
                    </div>
                    <div class="col-md-3">
                        <h3 class="font-extra-bold m-b-xs">
                            <small style="font-size: 16px;">变现能力 : </small>
                            ${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}
                            <small class="newFontSize"></small>
                        </h3>
                    </div>
                    <div class="col-md-3">
                        <h3 class="font-extra-bold m-b-xs text-center">
                            <small style="font-size: 16px;">押品风险 : </small>
                            <g:if test="${financialPledgeDetail?.cltv>=0&&financialPledgeDetail?.cltv<=0.6}"><span style="color: #62CB31">低</span></g:if>
                            <g:if test="${financialPledgeDetail?.cltv>0.6&&financialPledgeDetail?.cltv<=0.8}"><span style="color: #FF9800">中</span></g:if>
                            <g:if test="${financialPledgeDetail?.cltv>0.8&&financialPledgeDetail?.cltv<=1}"><span style="color: #E51C23">高</span></g:if>
                            <g:if test="${financialPledgeDetail?.cltv>1}"><span style="color: #8B1818">损失</span></g:if></h4>
                        </h3>
                    </div>
                </div>
            </div>

            <div class="panel-footer contact-footer">
                <div class="row">
                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>押品编号</span>
                            <strong>${financialPledgeDetail?.externalId}</strong>
                        </div>
                    </div>
                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>质押品类型</span>
                            <strong>${financialPledgeDetail?.type?.name}</strong>
                        </div>
                    </div>
                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>出质人名称</span>
                            <strong>${financialPledgeDetail?.fullName}</strong>
                        </div>
                    </div>
                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>金额</span>
                            <strong>${financialPledgeDetail?.currency?.name}：${financialPledgeDetail?.amount}</strong>
                        </div>
                    </div>

                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>押品状态</span>
                            <strong>${financialPledgeDetail?.estateStatus?.name}</strong>
                        </div>
                    </div>


                    <div class="col-md-1" style="width: 16.6%">
                        <div class="contact-stat">
                            <span>城市</span>
                            <strong>${financialPledgeDetail?.city?.name}</strong>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <g:if test="${financialPledgeDetail?.type?.name == '票据'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>汇票号码</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>出票人名称</th>
                            <th>出票人账号</th>
                            <th>查询查复情况</th>
                            <th>查询查复日期</th>
                            <th>票据真实性审核</th>
                            <th>持票人</th>
                            <th>承兑行</th>
                            <th>承兑行行号</th>
                            <th>背书人</th>
                            <th>出票日期</th>
                            <th>票据期限</th>
                            <th>到期日期</th>
                            <th>承兑机构类型</th>
                            <th>票据金额</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.drawerFullName?financialPledgeDetail?.drawerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.drawerAccountNumber?financialPledgeDetail?.drawerAccountNumber:'-'}</td>
                            <td>${financialPledgeDetail?.queryAndCheck?financialPledgeDetail?.queryAndCheck:'-'}</td>
                            <td>${financialPledgeDetail?.queryAndCheckDate?financialPledgeDetail?.queryAndCheckDate:'-'}</td>
                            <td>${financialPledgeDetail?.isValidate?'是':'否'}</td>
                            <td>${financialPledgeDetail?.holderFullName?financialPledgeDetail?.holderFullName:'-'}</td>
                            <td>${financialPledgeDetail?.acceptanceBank?financialPledgeDetail?.acceptanceBank:'-'}</td>
                            <td>${financialPledgeDetail?.acceptanceBankNo?financialPledgeDetail?.acceptanceBankNo:'-'}</td>
                            <td>${financialPledgeDetail?.endorserFullName?financialPledgeDetail?.endorserFullName:'-'}</td>
                            <td>${financialPledgeDetail?.startDate?financialPledgeDetail?.startDate:'-'}</td>
                            <td>${financialPledgeDetail?.duration?financialPledgeDetail?.duration:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.acceptanceAccountType?financialPledgeDetail?.acceptanceAccountType:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>

            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '定期存单'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>存单号码</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>是否本行存单</th>
                            <th>是否电子存单</th>
                            <th>存款账号</th>
                            <th>存款起息日</th>
                            <th>存款户名</th>
                            <th>存款银行</th>
                            <th>存单到期日</th>
                            <th>存单金额</th>
                            <th>存单利率</th>
                            <th>存单期限</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.isNativeDeposit?'是':'否'}</td>                            
                            <td>${financialPledgeDetail?.isElectronicDeposit?'是':'否'}</td>
                            <td>${financialPledgeDetail?.financialAccount?financialPledgeDetail?.financialAccount:'-'}</td>
                            <td>${financialPledgeDetail?.interestStartDate?financialPledgeDetail?.interestStartDate:'-'}</td>
                            <td>${financialPledgeDetail?.depositFullName?financialPledgeDetail?.depositFullName:'-'}</td>
                            <td>${financialPledgeDetail?.depositBank?financialPledgeDetail?.depositBank:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.rate?financialPledgeDetail?.rate:'-'}</td>
                            <td>${financialPledgeDetail?.duration?financialPledgeDetail?.duration:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '国债'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>凭证编号</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>代理机构</th>
                            <th>国债品种</th>
                            <th>国债代码</th>
                            <th>国债账号</th>
                            <th>国债期限</th>
                            <th>国债利率</th>
                            <th>国债开户日</th>
                            <th>国债到期日</th>
                            <th>国债金额</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.agency?financialPledgeDetail?.agency:'-'}</td>
                            <td>${financialPledgeDetail?.debtType?financialPledgeDetail?.debtType:'-'}</td>
                            <td>${financialPledgeDetail?.code?financialPledgeDetail?.code:'-'}</td>
                            <td>${financialPledgeDetail?.financialAccount?financialPledgeDetail?.financialAccount:'-'}</td>
                            <td>${financialPledgeDetail?.duration?financialPledgeDetail?.duration:'-'}</td>
                            <td>${financialPledgeDetail?.rate?financialPledgeDetail?.rate:'-'}</td>
                            <td>${financialPledgeDetail?.startDate?financialPledgeDetail?.startDate:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '债券'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>凭证号码</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>债券发行单位</th>
                            <th>发行机构类型</th>
                            <th>债券代理发行机构</th>
                            <th>是否为收购国有银行不良贷款而定向发行的债券</th>
                            <th>债券代码</th>
                            <th>债券数量</th>
                            <th>是否记名债券</th>
                            <th>是否需要办理止付</th>
                            <th>债券年利率</th>
                            <th>债券收益类型</th>
                            <th>债券计息方式</th>
                            <th>债券发行日</th>
                            <th>债券到期日</th>
                            <th>债券期限</th>
                            <th>债券评级</th>
                            <th>债券金额</th>
                            <th>质押登记机构</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.issuer?financialPledgeDetail?.issuer:'-'}</td>
                            <td>${financialPledgeDetail?.issuerType?financialPledgeDetail?.issuerType:'-'}</td>
                            <td>${financialPledgeDetail?.agency?financialPledgeDetail?.agency:'-'}</td>
                            <td>${financialPledgeDetail?.isOrienteeringBond?'是':'否'}</td>
                            <td>${financialPledgeDetail?.code?financialPledgeDetail?.code:'-'}</td>
                            <td>${financialPledgeDetail?.bondAmount?financialPledgeDetail?.bondAmount:'-'}</td>
                            <td>${financialPledgeDetail?.isRegisteredBond?'是':'否'}</td>
                            <td>${financialPledgeDetail?.isNeedStopPayment?'是':'否'}</td>
                            <td>${financialPledgeDetail?.rate?financialPledgeDetail?.rate:'-'}</td>
                            <td>${financialPledgeDetail?.incomeType?financialPledgeDetail?.incomeType:'-'}</td>
                            <td>${financialPledgeDetail?.chargeInterestMethod?financialPledgeDetail?.chargeInterestMethod:'-'}</td>
                            <td>${financialPledgeDetail?.startDate?financialPledgeDetail?.startDate:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.duration?financialPledgeDetail?.duration:'-'}</td>
                            <td>${financialPledgeDetail?.level?financialPledgeDetail?.level:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.pledgeRegistrationAgency?financialPledgeDetail?.pledgeRegistrationAgency:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '理财产品'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>所有权编号</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>理财产品名称</th>
                            <th>协议书编号</th>
                            <th>权利凭证编号</th>
                            <th>是否保本型</th>
                            <th>是否可提前赎回</th>
                            <th>理财产品发行机构</th>
                            <th>理财产品发行日期</th>
                            <th>理财产品到期日期</th>
                            <th>理财产品起息日期</th>
                            <th>理财产品到账日期</th>
                            <th>理财产品金额</th>
                            <th>预期年化收益率</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.productName?financialPledgeDetail?.productName:'-'}</td>
                            <td>${financialPledgeDetail?.protocolNumber?financialPledgeDetail?.protocolNumber:'-'}</td>
                            <td>${financialPledgeDetail?.certificateNumber?financialPledgeDetail?.certificateNumber:'-'}</td>
                            <td>${financialPledgeDetail?.isCapitalProtected?'是':'否'}</td>
                            <td>${financialPledgeDetail?.isRedemption?'是':'否'}</td>
                            <td>${financialPledgeDetail?.issuer?financialPledgeDetail?.issuer:'-'}</td>
                            <td>${financialPledgeDetail?.startDate?financialPledgeDetail?.startDate:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.interestStartDate?financialPledgeDetail?.interestStartDate:'-'}</td>
                            <td>${financialPledgeDetail?.toAccountDate?financialPledgeDetail?.toAccountDate:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.annualRate?financialPledgeDetail?.annualRate:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '股票股权'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>股票/基金名称</th>
                            <th>股票/基金代码</th>
                            <th>可转让基金份额投资的金融工具信息</th>
                            <th>股票数量</th>
                            <th>股票托管券商</th>
                            <th>股票企业性质</th>
                            <th>股票企业是否优质国企</th>
                            <th>股票金额</th>
                            <th>质押登记机构</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.productName?financialPledgeDetail?.productName:'-'}</td>
                            <td>${financialPledgeDetail?.productCode?financialPledgeDetail?.productCode:'-'}</td>
                            <td>${financialPledgeDetail?.financialInstruments?financialPledgeDetail?.financialInstruments:'-'}</td>
                            <td>${financialPledgeDetail?.productQuantity?financialPledgeDetail?.productQuantity:'-'}</td>
                            <td>${financialPledgeDetail?.trusteeshipAccount?financialPledgeDetail?.trusteeshipAccount:'-'}</td>
                            <td>${financialPledgeDetail?.accountNature?financialPledgeDetail?.accountNature:'-'}</td>
                            <td>${financialPledgeDetail?.isHighQualityAccount?'是':'否'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.pledgeRegistrationAgency?financialPledgeDetail?.pledgeRegistrationAgency:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '贵金属'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>纯度</th>
                            <th>发票号</th>
                            <th>重量（克）</th>
                            <th>购买价值</th>
                            <th>存放地点</th>
                            <th>托管机构</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.purity?financialPledgeDetail?.purity:'-'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.weight?financialPledgeDetail?.weight:'-'}</td>
                            <td>${financialPledgeDetail?.purchaseValue?financialPledgeDetail?.purchaseValue:'-'}</td>
                            <td>${financialPledgeDetail?.storageAddress?financialPledgeDetail?.storageAddress:'-'}</td>
                            <td>${financialPledgeDetail?.trusteeshipAccount?financialPledgeDetail?.trusteeshipAccount:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    <g:if test="${financialPledgeDetail?.type?.name == '保单'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    押品详细信息
                </div>
                <div class="panel-body no-padding" style="overflow-x:scroll;">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>质押物编号</th>
                            <th>质押物类型</th>
                            <th>质押物名称</th>
                            <th>出质人名称</th>
                            <th>出质人证件类型</th>
                            <th>出质人证件号码</th>
                            <th>出质人贷款卡编号</th>
                            <th>其他共同所有人</th>
                            <th>所占份额</th>
                            <th>是否有质押条款</th>
                            <th>是否约定质押率</th>
                            <th>保单号码</th>
                            <th>保险公司</th>
                            <th>投保人</th>
                            <th>被保险人</th>
                            <th>受益人</th>
                            <th>保单生效日</th>
                            <th>保单到期日</th>
                            <th>保险期限</th>
                            <th>保险费交缴期限</th>
                            <th>保险费交缴方式</th>
                            <th>保险费每期交缴金额</th>
                            <th>投保金额</th>
                            <th>币种</th>
                            <th>变现能力</th>
                            <th>价值波动性</th>
                            <th>查封便利性</th>
                            <th>抵质押物与借款人相关性</th>
                            <th>法律有效性</th>
                            <th>初次认定价值</th>
                            <th>最新认定价值</th>
                            <th>最新认定日期</th>
                            <th>实际抵质押率</th>
                            <th>抵质押率上限</th>
                            <th>抵质押物说明</th>
                            <th>登记人</th>
                            <th>登记机构</th>
                            <th>登记日期</th>
                            <th>更新日期</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>${financialPledgeDetail?.externalId}</td>
                            <td>${financialPledgeDetail?.type?financialPledgeDetail?.type.name:'-'}</td>
                            <td>${financialPledgeDetail?.name?financialPledgeDetail?.name:'-'}</td>
                            <td>${financialPledgeDetail?.fullName?financialPledgeDetail?.fullName:'-'}</td>
                            <td>${financialPledgeDetail?.identityType?financialPledgeDetail?.identityType.name:'-'}</td>
                            <td>${financialPledgeDetail?.idNumber?financialPledgeDetail?.idNumber:'-'}</td>
                            <td>${financialPledgeDetail?.loanCardNumber?financialPledgeDetail?.loanCardNumber:'-'}</td>
                            <td>${financialPledgeDetail?.commonOwnerFullName?financialPledgeDetail?.commonOwnerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.sharePoint?financialPledgeDetail?.sharePoint:'-'}</td>
                            <td>${financialPledgeDetail?.isHavePledgeClause?'是':'否'}</td>
                            <td>${financialPledgeDetail?.isAgreedPledgeRate?'是':'否'}</td>
                            <td>${financialPledgeDetail?.number?financialPledgeDetail?.number:'-'}</td>
                            <td>${financialPledgeDetail?.insurer?financialPledgeDetail?.insurer:'-'}</td>
                            <td>${financialPledgeDetail?.policyHolder?financialPledgeDetail?.policyHolder:'-'}</td>
                            <td>${financialPledgeDetail?.insurant?financialPledgeDetail?.insurant:'-'}</td>
                            <td>${financialPledgeDetail?.beneficiary?financialPledgeDetail?.beneficiary:'-'}</td>
                            <td>${financialPledgeDetail?.startDate?financialPledgeDetail?.startDate:'-'}</td>
                            <td>${financialPledgeDetail?.endDate?financialPledgeDetail?.endDate:'-'}</td>
                            <td>${financialPledgeDetail?.duration?financialPledgeDetail?.duration:'-'}</td>
                            <td>${financialPledgeDetail?.depositDuration?financialPledgeDetail?.depositDuration:'-'}</td>
                            <td>${financialPledgeDetail?.depositType?financialPledgeDetail?.depositType:'-'}</td>
                            <td>${financialPledgeDetail?.depositAmountPerMonth?financialPledgeDetail?.depositAmountPerMonth:'-'}</td>
                            <td>${financialPledgeDetail?.amount?financialPledgeDetail?.amount:'-'}</td>
                            <td>${financialPledgeDetail?.currency?financialPledgeDetail?.currency.name:'-'}</td>
                            <td>${financialPledgeDetail?.cashability?financialPledgeDetail?.cashability.name:'-'}</td>
                            <td>${financialPledgeDetail?.valueVolatility?financialPledgeDetail?.valueVolatility:'-'}</td>
                            <td>${financialPledgeDetail?.seizureOfConvenience?financialPledgeDetail?.seizureOfConvenience:'-'}</td>
                            <td>${financialPledgeDetail?.relationOfMortgagor?financialPledgeDetail?.relationOfMortgagor:'-'}</td>
                            <td>${financialPledgeDetail?.legalValidity?financialPledgeDetail?.legalValidity:'-'}</td>
                            <td>${financialPledgeDetail?.firstEvaluatePrice?financialPledgeDetail?.firstEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluatePrice?financialPledgeDetail?.latestEvaluatePrice:'-'}</td>
                            <td>${financialPledgeDetail?.latestEvaluateDate?financialPledgeDetail?.latestEvaluateDate:'-'}</td>
                            <td>${financialPledgeDetail?.actualMortgageRate?financialPledgeDetail?.actualMortgageRate:'-'}</td>
                            <td>${financialPledgeDetail?.mortgageRateUpperLimit?financialPledgeDetail?.mortgageRateUpperLimit:'-'}</td>
                            <td>${financialPledgeDetail?.description?financialPledgeDetail?.description:'-'}</td>
                            <td>${financialPledgeDetail?.registerFullName?financialPledgeDetail?.registerFullName:'-'}</td>
                            <td>${financialPledgeDetail?.registerAccount?financialPledgeDetail?.registerAccount:'-'}</td>
                            <td>${financialPledgeDetail?.registerDate?financialPledgeDetail?.registerDate:'-'}</td>
                            <td>${financialPledgeDetail?.registerUpdateDate?financialPledgeDetail?.registerUpdateDate:'-'}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

    %{--贷款信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                贷款信息
            </div>

            <div class="panel-body no-padding" style="overflow-x:scroll;">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>贷款编号</th>
                        <th>贷款余额</th>
                        <th>贷款总额</th>
                        <th>成交总价</th>
                        <th>回收总本金</th>
                        <th>回收总利息</th>
                        <th>回收总罚息</th>
                        <th>当前还款状态</th>
                        <th>逾期期数</th>
                        <th>质押权人</th>
                        <th>担保机构</th>
                        <th>放款银行</th>
                        <th>贷款时评估总价</th>
                        <th>贷款时评估单价</th>
                        <th>贷款到期日</th>
                        <th>贷款放款日</th>
                        <th>剩余还款总期数</th>
                        <th>还款方式</th>
                        <th>抵质押率</th>
                    </tr>
                    </thead>
                    <tbody>
                    <g:each in="${mortgageList}">
                        <tr>
                            <td ><g:link class="firstTd" style="color: #3498DB" action="show" controller="mortgage" id="${it?.id}">${it?.serialNumber?it?.serialNumber:'-'}</g:link></td>
                            <td>${it?.loansBalance?it?.loansBalance:'-'}元</td>
                            <td>${it?.loansAmount?it?.loansAmount:'-'}元</td>
                            <td>
                                <g:if test="${it?.loansEvaluateTotalPrice}">
                                    ${com.cindata.NumberUtil.GetFixedNumber(it?.loansEvaluateTotalPrice/10000)}（万元）
                                </g:if>
                                <g:else>
                                    -
                                </g:else>
                            </td>
                            <td>${it?.curRecycleTotalCapital?it?.curRecycleTotalCapital:'-'}元</td>
                            <td>${it?.curRecycleTotalInterest?it?.curRecycleTotalInterest:'-'}元</td>
                            <td>${it?.curRecycleTotalFine?it?.curRecycleTotalFine:'-'}元</td>
                            <td>${it?.curRepaymentState?it?.curRepaymentState.name:'-'}</td>
                            <td>${it?.curOverdueDuration?it?.curOverdueDuration:'-'}</td>
                            <td>${it?.mortgageeName?it?.mortgageeName:'-'}</td>
                            <td>${it?.guaranteeInstitution?it?.guaranteeInstitution.name:'-'}</td>
                            <td>${it?.loansBankName?it?.loansBankName:'-'}</td>
                            <td>${it?.loansEvaluateTotalPrice?it?.loansEvaluateTotalPrice:'-'}元</td>
                            <td>${it?.loansEvaluatePrice?it?.loansEvaluatePrice:'-'}元</td>
                            <td>
                                <g:if test="${it?.endDate}">
                                    <g:formatDate date="${it?.endDate}" format="yyyy-MM-dd"></g:formatDate>
                                </g:if>
                                <g:else>
                                    -
                                </g:else>
                            </td>
                            <td>
                                <g:if test="${it?.startDate}">
                                    <g:formatDate date="${it?.startDate}" format="yyyy-MM-dd"></g:formatDate>
                                </g:if>
                                <g:else>
                                    -
                                </g:else>
                            </td>
                            <td>${it?.remainTime?it?.remainTime:'-'}月</td>
                            <td>${it?.curRepaymentMode?it?.curRepaymentMode.name:'-'}</td>
                            <td>${it?.ltv?it?.ltv:'-'}%</td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>

        </div>
    </div>
</div>
<asset:javascript src="intelligence/swiper.js"/>
<script>
    //    $('#goBack').click(function(){
    //        window.history.back(-1);
    //    })
    var riskText=$('.risk').text();
    if(riskText=='低风险>>'){
        $('.risk').css('color','#62CB31');
    }else if(riskText=='中风险>>'){
        $('.risk').css('color','#FF9800');
    }
    else if(riskText=='高风险>>'){
        $('.risk').css('color','#E51C23');
    }else{
        $('.risk').css('color','#3498DB');
    }


</script>
<script>
    function show(id){
        var url = window.location.origin+"/mortgage/show?id="+id;
        window.open(url);
    }

</script>
</body>
</html>
